package com.changkang.webim.common;

/**
 * 枚举用户消息类型
 * @author 常康
 *
 */
public enum MessageType {
	
	online (5,"在线"), 
	
	hide (6,"离线"),

   ChatMessage(1,"离线消息"),
	
	AddFriend(9,"添加好友"),
	
	AddBevy(10,"添加群"),
	
	Notify(7,"通知");
	
	
	
	private int type;  //值
    private String description;  //描述
      
    MessageType(int type, String description) {  
        this.type = type;  
        this.description = description;  
    }  
      
    public int type() {  
        return this.type;  
    }  
      
    public String description() {  
        return this.description;  
    }  

}
